
import React,{useEffect} from 'react'
import HealthCodeData from './HealthCodeData'
import HealthCodePie from './HealthCodePie'

function HealthCode(props:any) {
    useEffect(()=>{

    },[])
    return (
        <div className="HealthCode">
            <HealthCodeData {...props}/>
            <HealthCodePie ButClick={props.ButClick} pieData={props.pieData} pieTitle={props.pieTitle}/>
        </div>
    )
}

export default HealthCode
